package com.liujun.spring4.demo.aop.aop.introductionInterceptor;

/**
 * @author liujun
 * @version 0.0.1
 * @date 2018/09/17
 */
public class ForumServiceImpl implements ForumService {

  @Override
  public void removeTopic(int topicId) {

    System.out.println("模拟删除Topic记录" + topicId);

    try {
      Thread.sleep(500);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
  }

  @Override
  public void removeForm(int forumId) {

    System.out.println("模拟删除forum记录" + forumId);
    try {
      Thread.sleep(500);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
  }
}
